package com.dwd.hrm.mapper;

import com.baomidou.mybatisplus.plugins.Page;
import com.dwd.hrm.domain.CourseType;
import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.dwd.hrm.query.CourseTypeQuery;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * <p>
 * 课程目录 Mapper 接口
 * </p>
 *
 * @author wendi
 * @since 2021-03-05
 */
@Repository
public interface CourseTypeMapper extends BaseMapper<CourseType> {

    List<CourseType> queryTree();

    List<CourseType> queryPage(Page<CourseType> page, CourseTypeQuery query);
}
